package com.learn.springcloud.sleuthservicedatabase.bean;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * @Time : 2018/8/8 21:32
 * @Version : 1.0
 */
@Getter
@Setter
@ToString
public class User {

    private String name;
    private Integer age;

    public User() {
    }

    public User(String name, Integer age) {
        this.name = name;
        this.age = age;
    }

    @Override
    public String toString() {
        return "User{" +
                "name='" + name + '\'' +
                ", age=" + age +
                '}';
    }
}
